module WikiHelper
  def meta_keywords
    [[@content.tags.collect{|t| t.name}], META_KEYWORD.split(',').collect{|k| k.strip}].flatten.uniq.find_all{|n| n unless n == ''}.join(',')
  end

  def feed_uri
    FEED_URI.empty? ? "http://#{request.env['HTTP_HOST']}#{_www_dir}latest/feed/plugin" : FEED_URI
  end
end
